import {
	https
} from "./router";

//获取个人信息
export function userInfo(){
	return https({
		url:'api/user/index',
		method:'POST'
	})
}

//修改个人信息
export function profile(data){
	return https({
		url:'api/user/profile',
		method:'POST',
		data
	})
}